Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group support for conv3d #1262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mlaves
Copy link
Contributor

@mlaves mlaves commented Jul 11, 2024

Proposed changes

Added group support to conv3d forward pass (backward pass still missing, as for conv2d). I adapted slow_conv_3D, explicit_gemm_conv_ND_cpu, and conv_3D_gpu to support groups > 1 and added tests.

Checklist

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

updated acknowledgments
@awni
Copy link
Member

awni commented Jul 15, 2024

Looks good to me. Do you mind sharing the results of a benchmark to see how well the groups parameter works for 3D convs? Ideally we should get a nice speed up when using a large number of groups.

@mlaves
Copy link
Contributor Author

mlaves commented Jul 16, 2024

Looks good to me. Do you mind sharing the results of a benchmark to see how well the groups parameter works for 3D convs? Ideally we should get a nice speed up when using a large number of groups.

Thanks, I'll add some benchmarks!

@awni
Copy link
Member

awni commented Oct 14, 2024

@mlaves what's the status of this PR? Should we try and land it soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants